
// HostPromiseRejectionTracker测试


const MyPromise = require('./MyPromise')

let p = new MyPromise((_, reject) => {
    reject(1)  // unhandler promise reject
})
setTimeout(() => {
    p.catch(err => console.log(err))
}, 0)